#ifndef ACCOUNT_ACCOUNTREQUEST_H
#define ACCOUNT_ACCOUNTREQUEST_H
#include "network/networkgetjsonrequest.h"

class QVariant;
namespace Network {
class JSONResponse;
}
namespace Account {

class LoginResponse;
class LoginRequest : public Network::GetJSONRequest
{
    Q_OBJECT
public:
    explicit LoginRequest(const QString &user, const QString &password, QObject *parent = 0);

public:
    const Network::JSONResponse &jsonResponse() const;
    QUrl url() const;

private:
    Network::JSONResponse &jsonResponse();

private:
    QString m_user;
    QString m_password;
    LoginResponse *m_response;
};

}
#endif // ACCOUNT_ACCOUNTREQUEST_H
